﻿@model NerdDinner.Models.Dinner

@if (Model.IsHostedBy(Context.User.Identity.Name)) { 

    @Html.ActionLink("Edit Dinner", "Edit", new { id=Model.DinnerID })
    <text>|</text>
    @Html.ActionLink("Delete Dinner", "Delete", new { id = Model.DinnerID })

}